package org.carl.base.driving.receive;

import lombok.extern.slf4j.Slf4j;
import org.carl.base.driving.annotation.ReceiveConfiguration;
import org.carl.base.driving.annotation.ReceiveMethod;
import org.springframework.stereotype.Service;

@ReceiveConfiguration
@Slf4j
@Service
public class HelloReceiver {
    @ReceiveMethod(name = "org.msg.hello")
    public void execute(String data){
      log.info("hi,我收到消息了:{}",data);
    }
}
